package com.hospital.tools;

import android.app.Application;

public class MyApplication extends Application {
	private boolean isLongin=false;
	private String member_num="";
	private String logname="";
	
	private String name="";
	private String idcard="";
	private String treatment_card="";
	private String phone="";
	private String address="";
	
	private String psw="";
	
	public String getPsw() {
		return psw;
	}
	public void setPsw(String psw) {
		this.psw = psw;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getTreatment_card() {
		return treatment_card;
	}
	public void setTreatment_card(String treatment_card) {
		this.treatment_card = treatment_card;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public boolean isLongin() {
		return this.isLongin;
	}
	public void setLongin(boolean isLongin) {
		this.isLongin = isLongin;
	}
	public String getMember_num() {
		return member_num;
	}
	public void setMember_num(String member_num) {
		this.member_num = member_num;
		this.isLongin=true;
	}
	public String getLogname() {
		return logname;
	}
	public void setLogname(String logname) {
		this.logname = logname;
	}
	private static MyApplication instance;
	public static MyApplication getInstance(){
		if(instance==null)
			instance =new MyApplication();
		return instance;
	}
	
}
